import { defineStore } from 'pinia';
import { ref } from 'vue';

export const useLayoutStore = defineStore('useLayoutStore', () => {
  const currentRouteNo = ref<number>(90);

  function changeRouteNo(no: number) {
    currentRouteNo.value = no;
  }

  return { currentRouteNo, changeRouteNo };
});
